{% set setting = {title:'房源信息',beforeLink:['/css/plugins/chosen/chosen.css']} %} {% include "../_partial/head.html" with setting %}
<link rel="stylesheet" href="{{basePath}}/css/plugins/fancybox/jquery.fancybox.css">
<style>
    .form-group span,.form-group input {
        margin: 0;
    }
    input {
        height:30px;
        line-height:30px;
    }
    textarea {
        padding:10px 15px;
    }
    #roomType p,#houseFloor p{
        border:1px solid silver;
    }
    #roomType label,#houseFloor label {
        position: relative;
        display: block;
        padding:0;
        margin-bottom: 0;
    }
    #roomType b,#roomType s,#houseFloor b,#houseFloor s,#roomType span,#roomType span{
        text-align: center;
        position: absolute;
        top: 50%;
        -webkit-transform: translate(0,-50%);
        -moz-transform: translate(0,-50%);
        -ms-transform: translate(0,-50%);
        -o-transform: translate(0,-50%);
        transform: translate(0,-50%);
        height:30px;
        line-height:30px;
    }
    #roomType b,#houseFloor b {
        right:10px;
    }
    #roomType span,#houseFloor span {
        right:20%;
        margin: 0;
    }
    #roomType s,#houseFloor s {
        font-style: normal;
        left:10px;
    }
    #roomType input,#houseFloor input {
        text-align: center;
        width: 60%;
        border:0 none;
    }
    #contactTel {
        height: 30px;
        line-height:30px;
        padding: 0 15px;
        font-size: 16px;
        color: #737373;
    }
</style>
<body>
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content" style="padding-top: 0;">
                <form class="form-horizontal m-t" style="margin-top:0;">
                    <input type="hidden" name="houseId" id="houseId">
                    <input type="hidden" name="rewardStatus" id="rewardStatus" value="1">
                    <input type="hidden" name="housePhotos" id="housePhotos">
                    <input type="hidden" name="coverPhoto" id="coverPhoto">
                    <div class="ibox-title" style="border: none;">
                        <h6>看房联系人</h6>
                    </div>
                    <div class="ibox-content">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">看房联系人：</label>
                            <!--<input type="text" class="col-sm-6" name="contactName" id="contactName" placeholder="请输入看房联系人" required />-->
                            <select name="userId" id="contact" class="col-sm-6"  required></select>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">看房电话：</label>
                            <p class="col-sm-6" id="contactTel"></p>
                            <!--<input type="number" class="col-sm-6" name="contactTel" id="contactTel" placeholder="请输入看房联系人的电话" required />-->
                        </div>
                    </div>
                    <div class="ibox-title" style="border: none;">
                        <h6>悬赏图片信息</h6>
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-sm-10" style="margin-left: 40px;">
                                <div class="ibox-content" id="cover-photo">
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-10" style="margin-left: 40px;">
                                <div class="ibox-content" id="reward-photos">
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="ibox-title" style="border: none;">
                        <h6>悬赏内容信息</h6>
                    </div>
                    <div class="ibox-content">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">悬赏标题：</label>
                            <input type="text" class="col-sm-6" name="rewardTitle" id="rewardTitle" placeholder="请输入悬赏标题" required />
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">房屋位置：</label>
                            <input type="text" class="col-sm-6" name="housePosition" id="housePosition" placeholder="请输入房屋位置" required />
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">报价(万元)：</label>
                            <input type="number" class="col-sm-6" name="quotePrice" id="quotePrice" placeholder="请输入报价" required />
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">底价(万元)：</label>
                            <input type="number" class="col-sm-6" name="basePrice" id="basePrice" placeholder="请输入底价" required />
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">默认查看：</label>
                            <input type="number" class="col-sm-2" name="defaultViews" id="defaultViews" placeholder="默认查看" />
                            <label class="col-sm-2 control-label">默认关注：</label>
                            <input type="number" class="col-sm-2" name="defaultAttentions" id="defaultAttentions" placeholder="默认关注" />
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">奖励(元)：</label>
                            <input type="number" class="col-sm-6" name="rewardPrice" id="rewardPrice" placeholder="请输入奖励" required />
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">悬赏推荐理由：</label>
                            <textarea class="col-sm-6" name="sheyiComment" id="sheyiComment" placeholder="请输入悬赏推荐理由..." style="height: 160px;" required></textarea>
                        </div>
                    </div>

